package com.ahzy.po;

import lombok.Data;
import java.util.Date;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

import com.alibaba.fastjson.annotation.JSONField;

// 公告
@Data
@Table(name = "notice")
public class Notice {

	@Id
	private Integer id;

	private Integer uid;

	private String title;
	
	private String content;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date dateline;
}
